package com.zb.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @Author WEN
 * @Date 2024/2/20 0020
 **/
@Data
@ApiModel("菜单权限对象")
public class MenuAuthorVo {
    @ApiModelProperty(value = "类型：1-导航菜单，2-页面，3-按钮")
    private Integer type;

    @ApiModelProperty(value = "菜单权限名称")
    private String name;

    @ApiModelProperty(value = "是否按钮：false-否，true-是")
    private Boolean button;

    @ApiModelProperty(value = "导航路径 ")
    private String path;

    @ApiModelProperty(value = "页面组件")
    private String component;

    @ApiModelProperty(value = "是否隐藏：false-否，true-是")
    private Boolean hidden;

    @ApiModelProperty(value = "菜单权限功能meta对象")
    private MenuAuthorMetaVo meta;

    @ApiModelProperty(value = "菜单权限功能对象")
    private List<MenuAuthorVo> authorVos;
}
